package com.zmj.sy.mom.srv.aps.controller;


import com.zmj.sy.mom.srv.aps.bean.vo.base.BasePageResVo;
import com.zmj.sy.mom.srv.aps.bean.vo.part.PartInfoReqVo;
import com.zmj.sy.mom.srv.aps.bean.vo.part.PartInfoResVo;
import com.zmj.sy.mom.srv.aps.bean.vo.partlog.PartLogListReqVo;
import com.zmj.sy.mom.srv.aps.bean.vo.partlog.PartLogListResVo;
import com.zmj.sy.mom.srv.aps.service.PartLogService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;

@RequiredArgsConstructor
@Api(tags = "零件日志")
@RestController
@RequestMapping("/partLog")
public class PartLogController {

    private final PartLogService partLogService;

    @ApiOperation("零件详细信息")
    @GetMapping("/list")
    public BasePageResVo<PartLogListResVo> list(PartLogListReqVo reqVo){
        return partLogService.list(reqVo);
    }
}
